import React from "react";

export interface IAppProps {
  name?: string;
}

const User: React.SFC<IAppProps> = (props: IAppProps): JSX.Element => {
  return (
    <div>
      <h1>Hello {props.name ? props.name : "Ts"}</h1>
    </div>
  );
};

export default User;
